package com.edu.ujn.myh.domain;

// default package

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * ArticleInfo entity. @author MyEclipse Persistence Tools
 */

public class ArticleInfo implements java.io.Serializable {

	// Fields

	private Integer AId;
	private CategoryInfo categoryInfo;
	private UserInfo userInfo;
	private String chinaName;
	private String englishName;
	private String chinaBrief;
	private String englishBrief;
	private String college;
	private String beginDate;
	private String createDate;
	private String endDate;
	private Integer spState;
	private String filePath;
	private Integer fpState;
	private String processId;
	private float score;
	private String opinions;
	private Set articleProInfos = new HashSet(0);
	private List opinonInfo;
	private OpinionInfo opinionInfo;
	
	// Constructors

	/** default constructor */
	public ArticleInfo() {
	}

	/** minimal constructor */
	public ArticleInfo(CategoryInfo categoryInfo, UserInfo userInfo,
			String chinaName, String englishName, String chinaBrief,
			String englishBrief, String college) {
		this.categoryInfo = categoryInfo;
		this.userInfo = userInfo;
		this.chinaName = chinaName;
		this.englishName = englishName;
		this.chinaBrief = chinaBrief;
		this.englishBrief = englishBrief;
		this.college = college;
	}

	/** full constructor */
	public ArticleInfo(CategoryInfo categoryInfo, UserInfo userInfo,
			String chinaName, String englishName, String chinaBrief,
			String englishBrief, String college, String beginDate,
			String createDate, String endDate, Integer spState,
			String filePath, Integer fpState, Set articleProInfos) {
		this.categoryInfo = categoryInfo;
		this.userInfo = userInfo;
		this.chinaName = chinaName;
		this.englishName = englishName;
		this.chinaBrief = chinaBrief;
		this.englishBrief = englishBrief;
		this.college = college;
		this.beginDate = beginDate;
		this.createDate = createDate;
		this.endDate = endDate;
		this.spState = spState;
		this.filePath = filePath;
		this.fpState = fpState;
		this.articleProInfos = articleProInfos;
	}

	// Property accessors

	public Integer getAId() {
		return this.AId;
	}

	public void setAId(Integer AId) {
		this.AId = AId;
	}

	public CategoryInfo getCategoryInfo() {
		return this.categoryInfo;
	}

	public void setCategoryInfo(CategoryInfo categoryInfo) {
		this.categoryInfo = categoryInfo;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public String getChinaName() {
		return this.chinaName;
	}

	public void setChinaName(String chinaName) {
		this.chinaName = chinaName;
	}

	public String getEnglishName() {
		return this.englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getChinaBrief() {
		return this.chinaBrief;
	}

	public void setChinaBrief(String chinaBrief) {
		this.chinaBrief = chinaBrief;
	}

	public String getEnglishBrief() {
		return this.englishBrief;
	}

	public void setEnglishBrief(String englishBrief) {
		this.englishBrief = englishBrief;
	}

	public String getCollege() {
		return this.college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public String getBeginDate() {
		return this.beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getEndDate() {
		return this.endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public Integer getSpState() {
		return this.spState;
	}

	public void setSpState(Integer spState) {
		this.spState = spState;
	}

	public String getFilePath() {
		return this.filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public Integer getFpState() {
		return this.fpState;
	}

	public void setFpState(Integer fpState) {
		this.fpState = fpState;
	}

	public Set getArticleProInfos() {
		return this.articleProInfos;
	}

	public void setArticleProInfos(Set articleProInfos) {
		this.articleProInfos = articleProInfos;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public String getOpinions() {
		return opinions;
	}

	public void setOpinions(String opinions) {
		this.opinions = opinions;
	}

	public List getOpinonInfo() {
		return opinonInfo;
	}

	public void setOpinonInfo(List opinonInfo) {
		this.opinonInfo = opinonInfo;
	}

	public OpinionInfo getOpinionInfo() {
		return opinionInfo;
	}

	public void setOpinionInfo(OpinionInfo opinionInfo) {
		this.opinionInfo = opinionInfo;
	}
}